public abstract class Hashing
{
    public Nodo hashes[];
    public static int comparaciones;
    static boolean verbosa;
    
    public Hashing(int M, boolean verbosa)
    {
        this.hashes = new Nodo[M];
        this.verbosa = verbosa;
        this.comparaciones = 0;
    }
    
    public int funcionHash(int value){
        return Math.abs((227 * value + 13) % hashes.length);
    }
    
    public abstract void insert(int x);
     
    public abstract boolean search(int x);

    public abstract void imprimir();
   
}
